<%-- 
    Document   : uploadPage
    Created on : 27-nov-2011, 23:41:36
    Author     : Marvin Hiemstra
--%>


<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Upload File</title>
    </head>
    <body>
        <h2>Upload a file to ${courseTitle}</h2>
        <p/>
        <form action="UploadController" method="post" name="uploadFileForm" enctype="multipart/form-data">
            <TABLE BORDER="0">
                ${createFileError}
                <TR>
                    <TD> <input type="file" name="fileData" size="50" /></TD>
                </TR>
                <TR>
                    <TD><input type="submit" name="submit" value="Upload File"/> </TD>
                </TR>
            </TABLE>
        </form>
        <A HREF="Menu?redirection=viewExercise&id=${exerciseTitle}">Return to ${exerciseName}</A>
    <p/>
</body>
</html>